#include "main.h"
#include "can.h"
#ifndef __CANIF_H__
#define __CANIF_H__


uint8_t canif_init();

void CAN1_Send_Test();
uint8_t CAN1_Send_Msg(uint32_t id, uint8_t *msg, uint8_t len);
uint8_t CAN1_Recv_Msg(uint32_t *id, uint8_t *buf);
// uint8_t CAN1_Send_Msg(uint8_t *msg, uint8_t len);
// uint8_t CAN1_Recv_Msg(uint8_t *buf);
#endif /* __CANIF_H__ */